/* ==================================================================   
 * Created [2009-4-27 下午11:32:55] by Jon.King 
 * ==================================================================  
 * TSS 
 * ================================================================== 
 * mailTo:jinpujun@hotmail.com
 * Copyright (c) Jon.King, 2009-2012 
 * ================================================================== 
*/

package com.jinhe.tss.core.cachepool;

/** 
 * <p> DefaultCacheableKey.java </p> 
 * 
 * 默认缓存项目的key实体。
 * 包含两个属性key和remark。
 * 
 * @author Jon.King 2007-1-3
 */
public class DefaultCacheableKey extends AbstractCacheableKey{
    
    private static final long serialVersionUID = -5301662065268821917L;
    
    private String key;
    private String name;
    private String remark = "";
    
    public DefaultCacheableKey(String key){
        this.key = key;
    }
    
    public DefaultCacheableKey(String key, String name){
        this(key);
        this.name = name;
    }
    
    public DefaultCacheableKey(String key, String name, String remark){
        this(key, name);
        this.remark = remark;
    }

    public String getKey() {
        return key;
    }
    
    public String getName(){
        return name;
    }

    public String getRemark() {
        return remark;
    }
}

